<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:page="urn:page">
<xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<xsl:template match="/">
<xsl:if test="count(rows/row)=0">
文章不存在
</xsl:if>
<xsl:if test="count(rows/row)!=0">
<div class="box"> 
	<!--管理菜单-->
	<div class="title">
		<h3>设置头条新闻</h3>
		<ul>
			<li class="b"><a href="picset.html?id={page:xRequest('id')}">设置图片新闻</a></li>
			<li><a href="###" onclick="window.close()">关闭</a></li>
		</ul>
	</div>
	<!--搜索及切换-->
	<div class="content" style="padding-top:10px;">
		<form id="frmTopSet">
		<input name="articleid" type="hidden" value="{rows/row/id}" />
		<dl class="editcontent editbg">
			<dt>文章编号:</dt>
			<dd><xsl:value-of select="rows/row/id"/></dd>
			<dt>文章标题:</dt>
			<dd class="font_blue"><xsl:value-of select="rows/row/f_title"/></dd>
			<dt>*头条标题:</dt>
			<dd>
				<ul>
					<li>
					<label>
						<input id="f_title" name="title" type="text" class="long order" value="{rows/row/f_title}" />
						</label>
					<label>
						<input name="isred" type="checkbox" class="checkbox" value="1" />
						套红</label>
					<label>
						<input name="isvideo" type="checkbox" class="checkbox" value="1" />
						视频</label>
					</li>
				</ul>
			</dd>
			<dt>当前标题字数:</dt>
			<dd class="font_red" id="countlength">33</dd>
<!--			<dt>关联信息:</dt>
			<dd>
				<ul>
					<li>
						<input name="" type="text" class="order long" />
					</li>
					<li class="font_blue">多个关联信息使用半角分号分隔，例如：Serial=雅阁;Serial=雅阁A;Type=北京行情.</li>
				</ul>
			</dd>-->
			<dt>*栏目名称:</dt>
			<dd>
				<ul>
					<li>
						<input type="text" class="order" id="channelname"/>
					</li>
					<li><a href="###" class="btn" id="manualAdd">手工增加</a></li>
				</ul>
			</dd>
			<dt>&nbsp;</dt>
			<dd style="height:80px;">
				<ul>
					<li>
						<select size="4" multiple="false" class="selectLong" id="source">
							<xsl:value-of select="page:xLoadList('channelParent',0,string(rows/row/f_channel_guid))" disable-output-escaping="yes"/>
							<xsl:text disable-output-escaping="yes"><![CDATA[
]]></xsl:text>
						</select>
					</li>
					<li class="aBlock">
						<a href="###" class="btn mt5" id="addchannel">增加&nbsp;&#8250;</a>
						<a href="###" class="btn mt5" id="removechannel">&#8249;&nbsp;删除</a>
					</li>
					<li>
						<select multiple="false"  class="selectLong" id="target" name="channelids">
							<xsl:text disable-output-escaping="yes"><![CDATA[
]]></xsl:text>
						</select>
					</li>
				</ul>
			</dd>
			<dt>&nbsp;</dt>
			<dd class="mt5"><a href="###" class="btn2" id="btnTopSetSave">保存</a><a href="###" class="btn2" id="btnReset">重置</a></dd>
		</dl>
		</form>
		<div class="table" id="topsetlist">
			<xsl:value-of select="page:xLoadList('TopSetList')" disable-output-escaping="yes"/>
		</div>
	</div>
</div>
</xsl:if>
</xsl:template>
</xsl:stylesheet>